package com.blog.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: VE
 * @DATE: 2022/10/11 10:26
 * 描述: 审核员实体
 */
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * admin_id
     */
    private Integer adminId;

    /**
     * admin_name
     */
    private String adminName;

    /**
     * admin_pass
     */
    private String adminPass;

    /**
     * admin_nickname
     */
    private String adminNickname;

    /**
     * admin_headimg
     */
    private String adminHeadimg;

    /**
     * admin_ubirthday
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date adminUbirthday;

    /**
     * admin_usex
     */
    private String adminUsex;

    /**
     * admin_phone
     */
    private String adminPhone;



    public Admin() {
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPass() {
        return adminPass;
    }

    public void setAdminPass(String adminPass) {
        this.adminPass = adminPass;
    }

    public String getAdminNickname() {
        return adminNickname;
    }

    public void setAdminNickname(String adminNickname) {
        this.adminNickname = adminNickname;
    }

    public String getAdminHeadimg() {
        return adminHeadimg;
    }

    public void setAdminHeadimg(String adminHeadimg) {
        this.adminHeadimg = adminHeadimg;
    }

    public Date getAdminUbirthday() {
        return adminUbirthday;
    }

    public void setAdminUbirthday(Date adminUbirthday) {
        this.adminUbirthday = adminUbirthday;
    }

    public String getAdminUsex() {
        return adminUsex;
    }

    public void setAdminUsex(String adminUsex) {
        this.adminUsex = adminUsex;
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone;
    }

}
